package com.google.gwt.it2tool.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface FactoryServiceAsync {
  public void addFactory(Factory fac, AsyncCallback<Void> async);
  public void removeFactory(Factory fac, AsyncCallback<Void> async);
  public void addProduction(Production prod, AsyncCallback<Void> async);
  public void removeProduction(Production prod, AsyncCallback<Void> async);
  public void getFactories(AsyncCallback<List<Factory>> async);
  public void storeMassProductionLvl(int lvl, AsyncCallback<Void> async);
  public void getMassProductionLvl(AsyncCallback<Integer> async);
  public void storeRecipe(Recipe rec,AsyncCallback<Void> async);
  public void getRecipies(AsyncCallback<List<Recipe>> async);
  public void getProductionPrototypes(AsyncCallback<List<ProductionPrototype>> async);
  public void getProductionPrototype(String name,AsyncCallback<ProductionPrototype> async);
  public void storeCustomFactoryOrder(CustomFactoryOrder order, AsyncCallback<Void> async);
  public void getCustomFactoryOrder(AsyncCallback<CustomFactoryOrder> async);
}